]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Remove a dead signal
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 22 May 2013 21:30:41 +0000 (17:30 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 6 Jun 2013 18:00:38 +0000 (14:00 -0400)
This signal is unused.

https://bugzilla.gnome.org/show_bug.cgi?id=701755

js/ui/status/network.js

index c0c6b00540d7fbf7e6f7945ded2fc5051c82dd75..d63245e9e280444803cbd62ff062aa15dac71ac1 100644 (file)
@@ -527,10 +527,6 @@ const NMDevice = new Lang.Class({
             return;
         }
 
-        if (oldstate == NetworkManager.DeviceState.ACTIVATED) {
-            this.emit('network-lost');
-        }
-
         /* Emit a notification if activation fails, but don't do it
            if the reason is no secrets, as that indicates the user
            cancelled the agent dialog */